package com.yunhe.xyxxgl.control;

import com.yunhe.xyxxgl.view.AdminHome;
import com.yunhe.xyxxgl.view.TeacherHome;

/**
 * Created by Administrator on 2017/8/9 0009.
 */
public class TeacherHomeController implements HomeController {
    private static TeacherHomeController instance;
    private TeacherHomeController(){

    }
    public static TeacherHomeController getInstance(){
        if(null == instance){
            instance = new TeacherHomeController();
        }
        return instance;
    }
    public  void HomeRoute(){
        int i = TeacherHome.teacherHomeUI();
        switch(i){
            case 1 : break;
            case 2 : UserController.userControllerRoute(); break;
            case 3 : LoginController.logout();break;
        }
    }
}
